package com.ay.weixin.config.group.event;

import java.io.IOException;

import javax.servlet.ServletException;

import org.lizar.controller.Event;
import org.lizar.controller.loader.EventLoader;

public class ProjectVarExceptionPage extends Event{

	@Override
	public void init_property() throws Exception {
		
		
	}

	@Override
	public String default_handling_path() {
		
		return "/project/var/exception/*";
	}

	@Override
	public void handle(EventLoader el) throws ServletException, IOException {
		if(el.queryPathCheck(3, "404")){
			el.template("/WEB-INF/template/exception/project_var_404.vm");
		}
	}
	
}
